Skip to content

Adding a ratio option to Drag class#1169

Open
challet wants to merge 2 commits intomootools:masterfrom
challet:master
Open

Adding a ratio option to Drag class#1169
challet wants to merge 2 commits intomootools:masterfrom
challet:master

Conversation

@challet
Copy link
Copy Markdown

@challet challet commented Dec 6, 2012

These changes will add an option ratio to the Drag class :
if set, it will add a constraint during drag, linking the x and y properties together.
It is designed to always lower one of the properties, in order to stick to the limit option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants